random choice dictionary python

39

random.choice(list(my_dict))
entry_list = list(a_dict.items())
print(random_entry)

Comments

Submit
0 Comments